<script type="text/javascript">
	var pieDatas${chart.id} = ${resultDatas};
	var pieColors${chart.id} = ${resultColors};
	var pieChart${chart.id} = new JSChart('${chart.id}', 'pie');
	pieChart${chart.id}.patchMbString();
	pieChart${chart.id}.setDataArray(pieDatas${chart.id});
	pieChart${chart.id}.colorizePie(pieColors${chart.id});
	pieChart${chart.id}.setTitle('${chart.title}');
	pieChart${chart.id}.setTitleColor('#8E8E8E');
	pieChart${chart.id}.setPieUnitsFontSize(12);
	pieChart${chart.id}.setTitleFontSize(14);
	pieChart${chart.id}.setTextPaddingTop(30);
	pieChart${chart.id}.setPieUnitsColor('#8F8F8F');
	pieChart${chart.id}.setPieValuesColor('#6E6E6E');
	pieChart${chart.id}.setPieUnitsFontSize(10);
	pieChart${chart.id}.setPieUnitsOffset(20);
	pieChart${chart.id}.setSize(${chart.width},${chart.height});
	pieChart${chart.id}.setPiePosition(308, 190);
	pieChart${chart.id}.setPieRadius(85);
	pieChart${chart.id}.setBackgroundImage('chart_bg.jpg');
	pieChart${chart.id}.draw();
</script>
